<template>
  <Body :menuList="[]" class="d-bg-fog layout-body-page">
    <template v-slot:contenter>
      <div :class="isTabStyle ? 'd-contenter-tab' : ''" class="d-contenter">
        <router-view :key="$route.fullPath" />
      </div>
    </template>
  </Body>
</template>

<script>
import { Body } from '@daelui/vdog/dist/pages.js'
import { mapState } from 'vuex'

export default {
  components: {
    Body
  },

  data () {
    return {

    }
  },

  computed: {
    ...mapState({
      isTabStyle: state => state.isTabStyle
    })
  },

  methods: {

  }
}
</script>

<style lang="less">
.layout-body-page {
  .d-layout-content {
    max-width: 100%;
    width: 100%;
  }
  .d-contenter {
    height: 100%;
  }
  .d-contenter-tab {

  }
}
</style>
